package com.xmb.wcapi.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.xmb.wcapi.config.BigDecimalSerializer;
import com.xmb.wcapi.util.JsonDateTypeConvert;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 自定义生产工单数据表
 * </p>
 *
 * @author huangping
 * @since 2024-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CustomQualityData implements Serializable {

    private static final long serialVersionUID=1L;

    private String id;

    /**
     * 日期
     */
    private String times;

    /**
     * 工单号
     */
    @TableField("lngWorkLoadNo")
    private Integer lngWorkLoadNo;

    /**
     * 制程
     */
    @TableField("strDepartmentName")
    private String strDepartmentName;

    /**
     * 品名
     */
    @TableField("strGoodsName")
    private String strGoodsName;

    /**
     * 东矩
     */
    private String material;

    /**
     * 纬创料号
     */
    @TableField("cusMaterial")
    private String cusMaterial;

    /**
     * 机种
     */
    @TableField("typeOfMachine")
    private String typeOfMachine;

    /**
     * 投入数
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal invest;

    /**
     * 计划数
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    @TableField("planSum")
    private BigDecimal planSum;

    /**
     * 待处理数
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal pending;

    /**
     * 累计待处理数
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    @TableField("pendingCumulative")
    private BigDecimal pendingCumulative;

    /**
     * 良品数
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    @TableField("nonDefective")
    private BigDecimal nonDefective;

    /**
     * 不良品数
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    @TableField("defectiveProducts")
    private BigDecimal defectiveProducts;

    /**
     * 不良分布
     */
    @TableField("poorDistribution")
    private String poorDistribution;

    /**
     * 良率
     */
    private String percentage;

    @TableField("typeName")
    private String typeName;

    /**
     * 前制程料号
     */
    private String qzclh;


}
